package com.dhl.state.sttatepackage;

import com.dhl.state.RaffleActivity;

/**
 * 奖品发放完毕
 * 说明，当我们activity改编成DispenspOutState, 抽奖活动结束
 * @author Administrator
 *
 */
public class DispenseOutState extends State {

    /**
     * 活动状态
     */
    RaffleActivity activity;

    /**
     * 设置状态
     * @param activity
     */
    public DispenseOutState(RaffleActivity activity) {
        this.activity = activity;
    }

    @Override
    public void deductMoney() {
        System.out.println("奖品抽完了，请下次在参加");
    }

    @Override
    public boolean raffle() {
        System.out.println("奖品抽完了，请下次在参加");
        return false;
    }

    @Override
    public void dispensePrize() {
        System.out.println("奖品抽完了，请下次在参加");
    }
}
